package cn.wolfcode.luowowo.article.mapper;

import cn.wolfcode.luowowo.article.domain.Attraction;
import java.util.List;

public interface AttractionMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Attraction record);

    Attraction selectByPrimaryKey(Long id);

    List<Attraction> selectAll();

    int updateByPrimaryKey(Attraction record);

    List<Attraction> selectTop5(Long destId);

    List<Attraction> selectHot10();

    List<Attraction> selectInAttrbyId(Long attrId);
}